/**
 * Created by aa on 2016/9/22.
 */
'use strict';
let Redux=require('redux');
let utils=require('../common/utils.js');
let cr=utils.cr;
let actions=require('../actions/productDetail');

var reducers=Redux.combineReducers({
    //父标产品信息
    parMessage:cr([],{[actions.RECEIVE_PAR_MESSAGE](state,action){
        return action.parMessage;
    }
    }),
    //父标子产品列表
    parProduct:cr([],{[actions.RECEIVE_PAR_PRODUCT](state,action){
        return action.parProduct;
    }
    })
});

module.exports=reducers;